package com.shadow.demo.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 缓存内容名称定义枚举.
 * @version v1.0
 * @ClassName: CacheEnum
 * @author: Pbody
 * @Date: 2020年5月1日02:24:36
 */
@Getter
@AllArgsConstructor
public enum CacheEnum {

    DICT_CACHE_PREFIX("dict", "字典缓存"),
    USER_ROLE_CACHE("userAuth", "用户权限缓存"),
    ROBOT_WORDS_ORDERS("wordsOrders", "用户场景语显示序号"),
    OSB_TOKEN("OSBToken", "OSB接口TOKEN");

    /** 枚举值. **/
    private final String value;
    /** 枚举名称. **/
    private final String name;
}

